<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>销售辅助系统客户管理系统</title>
    <link rel="shortcut icon" href="/dist/images/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" type="text/css" href="/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="/dist/css/AdminLTE.min.css">
    <link rel="stylesheet" type="text/css" href="/dist/css/login.css">
</head>

<body class="hold-transition login-page">
    <div class="login-box">
        <div class="login-logo">
            <a href="/" style="background-image: url(/dist/images/logo.png); background-size: cover;"></a>
        </div>
        <div class="box box-primary">
            <div class="login-box-body">

                <div class="box-body">
                    <%if(!success) {%>
                        <div class="return-result">
                            <p>
                                <%= error%>
                            </p>
                        </div>
                        <%}%>
                            <form class="form" action="/login" method="POST">
                                <input type="hidden" name="security_code" value="<%= security_code %>" />
                                <div class="form-group has-feedback">
                                    <label for="phone">手机号码</label>
                                    <span class="glyphicon glyphicon-earphone form-control-feedback"></span>
                                    <input tabIndex="1" type="text" name="username" class="form-control" id="phone" value="<%= data.username%>">
                                </div>
                                <div class="form-group has-feedback">
                                    <label for="password">密码</label>
                                    <span class="glyphicon glyphicon-lock form-control-feedback"></span>
                                    <input tabIndex="2" type="password" name="password" class="form-control" id="password" value="<%= data.password%>">
                                </div>
                                <button type="submit" class="btn btn-primary btn-block btn-flat">登录</button>
                            </form>
                </div>
                <div class="box-footer">
                    <a href="javascript:void(0)">忘记密码</a>
                    <a href="javascript:void(0)" class="pull-right">注册新账号</a>

                </div>
            </div>
        </div>
    </div>
    <footer>
        © 2017 dingdang.com, inc. All rights reserved. |
        <a href="javascript:void(0)">Privacy</a>
    </footer>
</body>

</html>